﻿using ProtoBuf;
namespace PnJ.Aliyun.OTS.Models
{
    /// <summary>
    /// 
    /// </summary>
    [ProtoContract(Name = "RowInBatchGetRowResponse")]
    public class RowInBatchGetRowResponse
    {
        /// <summary>
        /// 该行操作是否成功
        /// </summary>
        [ProtoMember(1, Name = "is_ok", IsRequired = true)]//defalt = true
        public bool IsOk  { get; set; }
        /// <summary>
        /// 该行操作的错误信息
        /// </summary>
        [ProtoMember(2, Name = "error")]
        public Error Error { get; set; }
        /// <summary>
        /// 该行操作消耗的服务能力单元
        /// </summary>
        [ProtoMember(3, Name = "consumed")]
        public ConsumedCapacity Consumed { get; set; }
        /// <summary>
        /// 该行需要返回的列数据集合
        /// </summary>
        [ProtoMember(4, Name = "row")]
        public Row Row { get; set; }
    }
}
